.container {
  padding: 0 7px 7px 7px;
  border-radius: 10px;
  box-shadow: 0 7px 10px 1px black;
  background-color: rgba(255, 255, 0, 0.7);
}

.registrcontainer {
  padding: 0 7px 7px 7px;
  border-radius: 10px;
  box-shadow: 0 7px 10px 1px black;
  background-color: rgba(236, 236, 236, 0.7);
}

.wrapper {
  position: relative;
  padding: 15px 35px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;

}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
}

.item {
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding-bottom: 20px;
}

.input {
  font-size: 18px;
  width: 100%;
  height: 45px;
  /* padding: 5px 15px; */
  padding-top: 15px;
  padding-left:  15px;
  border-radius: 7px;
  border: .3px solid white;
  outline: none;
  transition: all .3s;

}

.reginp {
  border: 1px solid rgb(218, 218, 0);
  transition: all .3s;

}

.input:focus {
  border: .3px solid black;
  transition: all .3s;
}
.input.reginp:focus {
  border: .3px solid rgb(218, 167, 0);
  transition: all .3s;
}

.label {
  font-size: 18px;
  position: absolute;
  pointer-events: none;
  left: 15px;
  right: 15px;
  top: 3px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 40px;
  transition: all .3s;
}

.input:not(:placeholder-shown)~.label,
.input:focus~.label {
  top: -10px;
  font-size: 13px;
  transition: all .3s;

} 

.btn {
  font-size: 18px;
  padding: 5px 10px;
  justify-content: center;
  background-color: white;
  border-radius: 5px;
  border: .3px solid black;
  outline: none;
  cursor: pointer;
  transition: all .3s;
}

.reg {
  border: .3px solid rgb(218, 218, 0);
}

.btn:hover {
  background-color: rgb(228, 228, 228);
  transition: all .3s;
}

.btn.reg:hover {
  background-color: rgb(255, 248, 182);
  transition: all .3s;
}

.error {
  position: absolute;
  bottom: 0;
  left: 15px;
  color: red;
  font-size: 14px;
}

.registr {
  text-align: center;
  max-width: 300px;
}

.secondregistr {
  font-weight: bold;
  color: rgb(65, 65, 65);
  text-decoration:underline;
  cursor: pointer;
  transition: all .3s;

}

.secondregistr:hover {
  color: black;
  transition: all .3s;

}

.success {
  border-top: 7px solid yellow;
  padding: 50px;
  background-color: white;
  font-size: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.close {
  padding: 5px;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 5px;
  right: 3px;
  cursor: pointer;
  border-radius: 50%;
  transition: all .3s;
}

.close:hover {
  background-color: rgba(128, 128, 128, 0.3);
  transition: all .3s;
}

.close:active {
  background-color: rgba(255, 0, 0, 0.3);
  transition: all .3s;
}

.eye {
  
  cursor: pointer;
  position: absolute;
  right: 5px;
  top: 10px;
  width: 30px;
  height: 30px;  
  transition: all .3s;
  border-radius: 50%;
}

.eye:hover {
  transform: scale(1.1);
  transition: all .3s;
}

.eye:active {
  background-color: rgba(251, 255, 0, 0.5);
  transition: all .3s;
}

.fetchError {
  position: absolute;
  bottom: 0;
  color: red;
  word-wrap: break-word;
  hyphens: manual;
}

.forgot {
  cursor: pointer;
  font-size: 15px;
  opacity: .7;
  transition: all .3s;
}

.forgot:hover {
  opacity: 1;
}